<?php $session->flash(); ?>

<div id="load" style="display: none;">
        <?php  echo $html->image('loading.gif', array('border'=>"0",'align'=>'center'));?>
  </div>
<h1>PREDIOS PROYECTO <?php echo$cod; ?></h1>
<table  id="tabla" class="tabla" >
        <thead>
            <tr>
              <th>Código</th>
              <th>Nombre</th>
              <th>Vereda</th>
              <th>Area de Títulos</th>
              <th ></th>

              </tr>
        </thead>
        <tbody>
          <?php foreach ($properties as $prop):?>
            <tr>
               <td><?php echo $prop['Property']['codigo'] ?></td>
               <td><?php echo $prop['Property']['nombre'] ?></td>
               <td><?php echo $prop['Property']['vereda'] ?></td>
               <td><?php echo $prop['Property']['area_titulo'] ?></td>
               <td><?php echo $ajax->link('Anexos',array('controller'=>'Annexes','action'=>'index',$prop['Property']['id']),array('update'=>'annexes','indicator'=>'load')); ?></td>
               
            </tr>
           <?php endforeach;?>
       </tbody>
    </table>
<br>


<br>





